﻿using MxWeiXinPF.API.Payment.Tenpay;
using MxWeiXinPF.Common;
using MxWeiXinPF.Web.UI;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MxWeiXinPF.Web.weixin.jiaoshuifei
{
    public partial class RepairList : WeiXinPage
    {
        string key = "";
        string wxusername = "";
        public int wid = 0;

        public DataSet data = null;
        protected void Page_Load(object sender, EventArgs e)
        {
            string msg = string.Empty;
            wid = MyCommFun.RequestWid();
            string thisUrl = MyCommFun.getWebSite() + "/weixin/jiaoshuifei/RepairList.aspx?wid=" + wid;
            OAuth2BaseProc(wid, thisUrl);


            if (wid == 0 || openid == "")
            {
                Response.Redirect("/weixin/jiaoshuifei/index.aspx?wid=" + wid);
            }
            BLL.shuifei_baoxiu baoxiubll=new BLL.shuifei_baoxiu ();
            data = baoxiubll.GetList(Convert.ToInt32(wid), openid);
        }
    }
}